package com.inctech.serviceImpl;

import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.inctech.dao.IDocumentDAO;
import com.inctech.model.DocumentEntity;
import com.inctech.service.IDocumentService;

@Service("documentService")
public class DocumentServiceImpl implements IDocumentService {
	@Autowired
	private IDocumentDAO dao;
	
	@Override
	public List<DocumentEntity> queryAll(Map<String, Object> params) {
		return dao.queryAll(params);
	}
	
	@Override
	public int getTotalCount() {
		return dao.getTotalCount();
	}
}
